package com.wxy.test;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.wxy.service.userService;

public class test2 {
	public static void main(String[] args) {
//		@SuppressWarnings("resource")
//		ApplicationContext applicationContext=new ClassPathXmlApplicationContext("applicationContext.xml");
//		userService userService=applicationContext.getBean("userService",userService.class);
//		userService.updatedata();
		ApplicationContext applicationContext=new ClassPathXmlApplicationContext("applicationContext.xml");
		增强类 test增强类=applicationContext.getBean("增强类",增强类.class);
		test增强类.test1();
	}
}
